//***********************************************************************
//	File:		ExplosiveBarrel.cpp
//	Author:		
//	Course:		SGP 1405
//	Purpose:	
//***********************************************************************
//***********************************************************************
//	Purposfully left blank for all comments regarding this file 
//	
//	
//	
//***********************************************************************



#include "ExplosiveBarrel.h"

ExplosiveBarrel::ExplosiveBarrel(float posX, float posY)
{
	SetAcceleration ( { 0 , 0 } );
	SetDamage(75); 
	SetDynamicFrictionCoefficient(.5f); 
	SetHealth(60); 
	//SetImage();
	SetIsFrozen(false); 
	SetMass(20); 
	SetMaxHealth(60); 
	SetMaxSpeed(50); 
	SetPassable(false);
	SetPosition(SGD::Point{ posX, posY }); 
	SetRadius(75);
	SetRotation(0);
	SetSize(SGD::Size{ 16, 16 }); 
	SetStaticFrictionCoefficient(.7f);
	// SetTakeDamage(); particle emitter
	SetVelocity(SGD::Vector{ 0, -1 }); 


}

//Interface
void ExplosiveBarrel::Update(float dt)
{
	//Last line of function
	Entity::Update(dt);
}

void ExplosiveBarrel::Render()
{

}

void ExplosiveBarrel::HandleCollision(const IEntity* pOther)
{

}

void ExplosiveBarrel::HandleEvent()
{

}

SGD::Rectangle ExplosiveBarrel::GetRect() const
{
	return SGD::Rectangle{}; 
}

void ExplosiveBarrel::ModifyHealth(float hpAmount)
{

}

void ExplosiveBarrel::ApplyFriction(float dt)
{

}

void ExplosiveBarrel::Explode(void)
{

}